"""
URL configuration for RAG_Finance project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/5.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""

from django.contrib import admin
from django.urls import path
from view.chat_neo4j_view import chat
# from view.company_node_view import *
# from view.senior_node_view import *
# from view.shareholder_node_view import *
from view.login_view import login,send_email,code_login
from view.upload_doc import upload_file
from view.changepassword_view import changepassword,verify_code,send_email2
from view.chat_stream_view import stream_chat
from view.company_node_view_fast import *
from view.senior_node_view_fast import *
from view.shareholder_node_view_fast import *
urlpatterns = [
    path("admin/", admin.site.urls),
    path("chat/", chat),
    path("createCompanyNode/",create_company_node),
    path("queryCompanyNode/",query_company_node),
    path("updateCompanyNode/",update_company_node),
    path("deleteCompanyNode/",delete_company_node),

    path("createSeniorNode/",create_senior_node),
    path("querySeniorNode/",query_senior_node),
    path("updateSeniorNode/",update_senior_node),
    path("deleteSeniorNode/",delete_senior_node),

    path("createShareHolderNode/",create_shareholder_node),
    path("queryShareHolderNode/",query_shareholder_node),
    path("updateShareHolderNode/",update_shareholder_node),
    path("deleteShareHolderNode/",delete_shareholder_node),

    path("login/",login),
    path("send_email/",send_email),
    path("code_login/",code_login),
    path("upload/",upload_file),

    path("changepassword/",changepassword),
    path("verify_code/",verify_code),
    path("send_email2/",send_email2),

    path("stream_chat/",stream_chat),
]
